package com.speedchina.permission.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 速度脚手架-基础权限 入口
 * @author han.qing
 * @date 2021-04-02
 */
@EnableSwagger2
@SpringBootApplication
@EnableTransactionManagement
@ComponentScan(basePackages = {"com.speedchina.permission","com.speedchina.common","com.speedchina.framework"})
@MapperScan({"com.speedchina.permission.dao"})
public class PermissionWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(PermissionWebApplication.class, args);
    }

}
